package com.smart.service.impl;

import com.smart.entity.Monitor;
import com.smart.mapper.MonitorMapper;
import com.smart.service.IMonitorService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 监控表 服务实现类
 * </p>
 *
 * @author Cookies
 * @since 2024-05-19
 */
@Service
public class MonitorServiceImpl extends ServiceImpl<MonitorMapper, Monitor> implements IMonitorService {
    @Override
    public List<Monitor> getMonitorList() {
        List<Monitor> monitorList = lambdaQuery().list();
        return monitorList;
    }
}
